package player.entity;

/**
 * 玩家主体
 */
public class GamePlayer {
    private int playerId; // 玩家Id
    private long cash; // 现金
    private String name; // 名字
    private int sex; // 0男的 1女的  2不男不女

    public GamePlayer(int playerId, int sex, String name) {
        this.playerId = playerId;
        this.sex = sex;
        this.name = name;
    }

    public int getPlayerId() {
        return playerId;
    }

    public void setPlayerId(int playerId) {
        this.playerId = playerId;
    }

    public long getCash() {
        return cash;
    }

    public void setCash(long cash) {
        this.cash = cash;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }
}
